package com.swd2010.mobileSearch.data.adapter;

import android.util.Log;

import com.swd2010.mobileSearch.data.ABean;
import com.swd2010.mobileSearch.data.PersonBean;



/**
 *
 * @author haui
 */
//Haui

public class PersonBeanForListView extends ABean {
    
   
 
   private String firstName;
   

   private String lastName;
   

   private String fullNameWithDegress;
   

   private String eMail;           
   
   private String telephoneNr;   

   
   
   public PersonBeanForListView(PersonBean  pB){
	   
	   this.eMail = pB.geteMail();
	   
	   this.fullNameWithDegress = pB.getFullNameWithDegress();
	   
	   this.additionalInformation = pB.getAdditionalInformation();
	   
	   //Log.e("innen ", pB.getId() + "innen id" );
	   
	   this.id = pB.getId();
	   
	   this.telephoneNr = pB.getTelephoneNr();
	   
   }
   
   
   
    public String getFirstName() {
        return firstName;
    }

    public void setFirstName(String firstName) {
        this.firstName = firstName;
    }

    public String getLastName() {
        return lastName;
    }

    public void setLastName(String lastName) {
        this.lastName = lastName;
    }

    public String getFullNameWithDegress() {
        return fullNameWithDegress;
    }

    public void setFullNameWithDegress(String fullNameWithDegress) {
        this.fullNameWithDegress = fullNameWithDegress;
    }

    public String geteMail() {
        return eMail;
    }

    public void seteMail(String eMail) {
        this.eMail = eMail;
    }
    
       
    
    public String toString(){
    	
    	return getFullNameWithDegress();
    	
    }
    
    
}

